import request from '@/utils/request'

export function getTagPosition() {
  return request({
    url: '/getTagPosition',
    method: 'get'
  })
}

export function listCurrentTags() {
  return request({
    url: 'tag/listCurrentTags',
    method: 'get'
  })
}

export function getTagPositionTrack(params) {
  return request({
    url: '/map/getTagPositionTrack',
    method: 'get',
    params
  })
}

export function alarm(params) {
  return request({
    url: 'http://111.229.7.173:8000/api/v1.0/service/location',
    method: 'get',
    params
  })
}
